<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@page import="Models.Project.Project"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<% 
	ArrayList<Project> AL = (ArrayList<Project>) request.getAttribute("AllProjects");

	for(int i = 0 ; i < AL.size() ; i++)
	{//<a href="projectdetails/?param_name="
		out.println( "<a href='ProjectController?projectaction=detailview&param_name="+ AL.get(i).getProjectId() +"'>" + AL.get(i).getProjectName() +"</a>"); 
		//out.println(AL.get(i));
		out.print("<br/>");
	}
%>
</body>
</html>